home *** CD-ROM | disk | FTP | other *** search
/ Comix Games / Comix Games.iso / waldo / waldo.exe / FINAL08.DXR / 00339.ls < prev    next >
Encoding:
Text File  |  1995-10-08  |  421 b   |  16 lines

  1. on exitFrame
  2.   set userLoc to point(the mouseH, the mouseV)
  3.   repeat with x = 29 to 34
  4.     if the type of sprite x > 0 then
  5.       set spriteRect to rect(the left of sprite x, the top of sprite x, the right of sprite x, the bottom of sprite x)
  6.       if inside(userLoc, spriteRect) then
  7.         set x to 1000
  8.         exit repeat
  9.       end if
  10.     end if
  11.   end repeat
  12.   if x < 1000 then
  13.     go("Main, No Loops")
  14.   end if
  15. end
  16.